﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace API.Models
{
   
        public class AuteurModel
        {


            public int Id { get; set; }
            [Required]
      
            public string Name { get; set; }
            [Required]
           
            public string Lastname { get; set; }

            [Required]
         

            public string Profil { get; set; }

            [DataType(DataType.EmailAddress)]
           
            public string Adressmail { get; set; }

         


            public AuteurModel()
            {

            }
        
    }
}